# Writer

LangChain.js supports calling [Writer](https://writer.com/) LLMs.

## Setup

First, you'll need to sign up for an account at https://writer.com/. Create a service account and note your API key.

Next, you'll need to install the official package as a peer dependency:

```bash npm2yarn
yarn add @writerai/writer-sdk
```

import IntegrationInstallTooltip from "@mdx_components/integration_install_tooltip.mdx";

<IntegrationInstallTooltip></IntegrationInstallTooltip>

```bash npm2yarn
npm install @langchain/community
```

## Usage

import CodeBlock from "@theme/CodeBlock";
import WriterExample from "@examples/models/llm/writer.ts";

<CodeBlock language="typescript">{WriterExample}</CodeBlock>
